home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / fdh70.zip / FDH70.DOC < prev    next >
Text File  |  1993-01-28  |  16KB  |  427 lines

  1.  
  2.  ┌───────────┬────────────────────────────────────────────────────┬───────────┐
  3.  │ ▄▀▄▀▄▀▄▀▄ │ NO NONSENSE BBS - Westfield - NJ    (908) 654-3178 │ ▄▀▄▀▄▀▄▀▄ │
  4.  │ ▄▀▄▀▄▀▄▀▄ ├────────────────────────────────────────────────────┤ ▄▀▄▀▄▀▄▀▄ │
  5.  │ ▄▀▄▀▄▀▄▀▄ │    FILE DIRECTORY HEADER Ver7.0 by Vince Rifici    │ ▄▀▄▀▄▀▄▀▄ │
  6.  │ ▄▀▄▀▄▀▄▀▄ ├─────────────┬─────────────────┬────────────────────┤ ▄▀▄▀▄▀▄▀▄ │
  7.  │ ▄▀▄▀▄▀▄▀▄ │ Files 1,021 │ K-Bytes  54,276 │ Updated 01-28-1993 │ ▄▀▄▀▄▀▄▀▄ │
  8.  └───────────┴─────────────┴─────────────────┴────────────────────┴───────────┘
  9.  
  10.                                   - 1 -
  11.  
  12.  
  13.         PCBoard 14.5a allows you to "break" the previous 79 column
  14.         restriction on DIRx text headers, so you can now add a nice
  15.         graphic header to your file directories.
  16.  
  17.         The possibilities are limitless!  This is one design I came up
  18.         with which not only looks sharp, but has the added feature of
  19.         displaying the date, number of files and number of bytes in each
  20.         directory.  All five header file colors are now configurable in
  21.         version 3.0.  Version 4.0 fixes the "out-of-string-space" error
  22.         experienced by some users when the size of a DIRx file exceeded
  23.         50k bytes.  Version 5.0 made minor corrections in the .DOC file.
  24.         Version 5.1 rounded the Bytes field to K-Bytes for easier
  25.         reading.  The Files & K-Bytes field is now in the image ##,###.
  26.         Total number of directories allowed has been increased from 100
  27.         to 150.  Version 6.0 corrects the "cut-off" header when using
  28.         PCBFILER to create an ALLFILES.LST.  Version 7.0 increased the
  29.         number of maximum directories to 250.
  30.  
  31.              EXECUTE THE FILE "SAMPLE1.EXE" TO SEE HOW THE
  32.                FINISHED PRODUCT WILL LOOK ON YOUR BOARD.
  33.  
  34.         Files contained in this archive are:
  35.  
  36.                 FDH70.EXE   <------------- The main executable program
  37.                 FDH70X.EXE  <------------- Alternate executable program
  38.                 FDH.CFG     <------------- Sample configuration file
  39.                 FDH70.DOC   <------------- Documentation file
  40.                 FDH.HST     <------------- Revision history
  41.                 SAMPLE1.EXE <------------- Sample screen capture
  42.                 SAMPLE2.TXT <------------- Sample directory file
  43.                 COLOR.CHT   <------------- PCB color code chart
  44.                 FILE_ID.DIZ <------------- Archive description
  45.  
  46.         The program was run and tested on only one PC (my own).  It is
  47.         an AT&T 6386 WGS running at 20mhz with 2 Megs of RAM memory.
  48.         DOS5.0 is installed as the operating system. It was written in
  49.         GWBASIC and was compiled using MicroSoft's QuickBASIC Compiler
  50.         Version 4.0.  It takes approx. 40 seconds to run to completion
  51.         on my BBS, which contains 51 directories and over 5,000 Files.
  52.  
  53.         It works flawlessly on my machine, but I cannot be responsible
  54.         for any problems you may have with it running on your machine.
  55.         Please be cautious!  Make backups of your file directories
  56.         before using it the first time!
  57.  
  58.  
  59.  
  60.  
  61.                                 - 2 -
  62.  
  63.  
  64.  
  65.         The limitations of the program are as follows:
  66.  
  67.                 Maximum number of file directories = 250
  68.                 Minimum free RAM of low memory needed = 64k
  69.                 Commas cannot be used in the directory titles
  70.  
  71.     The version of PCBoard I designed FDH for is 14.5a/10 (multi-
  72.         node).  All nodes should be down when this program is run.
  73.  
  74.         This program utilizes the PCBoard "@X" color codes to display
  75.         both color and monochrome with PCBoard Version 14.5a.  See the
  76.         file COLOR.CHT for a complete list of "non-blinking" color codes
  77.         which may be used on PCBoard 14.5a.
  78.  
  79.  
  80.  
  81.  
  82.         Before running the program the following conditions MUST be met:
  83.  
  84.         1. FDH70.EXE and FDH.CFG must be located in the same sub-directory.
  85.            They can be located anywhere on your disk (even on a different
  86.            drive than your PCB files).
  87.  
  88.         2. All your file directories must be named DIRx, and must be
  89.            located in the same sub-directory (usually \PCB\GEN\).
  90.                Example:  DIR1, DIR2, ..., DIR250
  91.                             - not -
  92.                          DIR01, DIR02, ..., DIR250
  93.                (see exception on page 5) 
  94.  
  95.         3. You will have to create your own FDH.CFG file, or edit the
  96.            sample .CFG file included in the archive.  The filename must
  97.            remain FDH.CFG (it is hardcoded in the executable).
  98.  
  99.         4. The clock on your PC must be correct.  The date shown in the
  100.            header is generated internally.
  101.  
  102.  
  103.  
  104.  
  105.                                   - 3 -
  106.  
  107.  
  108.  
  109.         CREATING THE FDH.CFG FILE
  110.  
  111.         Use any pure ASCII text editor to create the FDH.CFG file.
  112.         The size of this file will vary depending on the number of
  113.         file directories you have.  If your board's directory structure
  114.         ever changes, you can re-edit the .CFG file and the program will
  115.         still work.  All configurable items are contained in this file.
  116.  
  117.  
  118.         The FIRST LINE is simply the number of DIRx file directories
  119.         for which you are configuring headers.
  120.  
  121.  
  122.         The SUBSEQUENT LINES contain the titles of all your DIRx file
  123.         directories.  Use one title per line, in sequential order.
  124.         Titles should not exceed 35 characters.  End all lines with a
  125.         simple carriage return & line feed.
  126.  
  127.  
  128.         The NEXT THREE LINES are as follows:
  129.  
  130.                 The complete path of your DIRx files
  131.                 (path only, no filename.  Place "\" at end of path)
  132.  
  133.                 The name and location of your BBS
  134.                 (this line should be no longer than 34 characters)
  135.  
  136.                 Your BBS telephone number  (maximum 14 characters)
  137.  
  138.  
  139.         The LAST FIVE LINES are the PCB "@X" color codes for configuring
  140.         the header colors.  See the file COLOR.CHT for all the available
  141.         colors you can use.  Be sure to enter these codes in CAPS!
  142.  
  143.                 Color of the Border Lines
  144.                 Color of the Checkerboard Flag
  145.                 Color of your BBS Name and Tel No.
  146.                 Color of all the Variable Information
  147.                 Color of all Fixed Titles
  148.  
  149.  
  150.       * IMPORTANT:  DO NOT USE COMMAS ANYWHERE IN THE FDH.CFG FILE!
  151.  
  152.                     THE NUMBER OF DIRECTORY TITLES MUST BE EQUAL TO
  153.                     THE NUMBER SHOWN ON THE FIRST LINE IN FDH.CFG!
  154.  
  155.  
  156.  
  157.  
  158.                                  - 4 -
  159.  
  160.  
  161.  
  162.  
  163.         Here is a sample illustration of a FDH.CFG file containing
  164.         five file directories:
  165.  
  166.         5                          <------- cannot be higher than 250
  167.         DOS Utilities & Shells     <------- maximum 35 characters
  168.         Communication Programs                      "
  169.         File Transfer Protocols                     "
  170.         BBS System Software                         "
  171.         Sysop & User Utilities                      "
  172.         E:\PCB\GEN\                     <---- may be any length
  173.         NO NONSENSE - Westfield - NJ    <---- maximum 34 characters
  174.         (908) 654-3178                  <---- maximum 14 characters
  175.         @X09   <-------- Bright blue Border Lines
  176.         @X0C   <-------- Bright red Checkerboard Flag
  177.         @X0B   <-------- Bright cyan BBS Name & Tel No.
  178.         @X0A   <-------- Bright green Descriptions & File Counts
  179.         @X03   <-------- Standard cyan Fixed Titles
  180.  
  181.         All lines are ended with a simple carriage return & line feed.
  182.         Do not use any blank spaces before or after the information on
  183.         any line.
  184.  
  185.  
  186.  
  187.         PREPARING YOUR FILE DIRECTORIES
  188.  
  189.         Each of your DIRx file directories should contain only one
  190.         header line.  This is the PCB 14.5a statement which calls up the
  191.         header file when it's displayed on the board.
  192.  
  193.         Place the following statement on the first line in each of your
  194.         DIRx directories:
  195.  
  196.         %E:\PCB\GEN\DIRx.HED  <--- use the same path as your DIRx files
  197.                                    (you MUST use .HED for the extension) 
  198.  
  199.         This line begins with a percent (%) sign and contains the path
  200.         and file name of the header files.
  201.  
  202.         The header files are automatically created when the program
  203.         FDH70.EXE is executed.  The files are named DIRx.HED and are
  204.         created in the same directory as your DIRx files.
  205.  
  206.         See SAMPLE2.TXT for a sample of my directory #1 (DIR1).
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.                                     - 5-
  214.  
  215.  
  216.  
  217.         VERSITILITY OF THE PROGRAM
  218.  
  219.         The preceding set-up for configuring the .CFG file applies to all
  220.         conferences which use the same DIRx files.  Sometimes a conference
  221.         may use different DIRx files.  In this case, you would configure
  222.         a separate FDH.CFG tailored specifically for that conference.  Be
  223.         sure to specify the correct path to the directory which contains
  224.         the different conference DIRx files.
  225.  
  226.  
  227.         Let's suppose your Sysops Conference directories are named "SDIRx"
  228.         instead of "DIRx".  When you specify the path of the "SDIRx" files
  229.         in the .CFG file, just enter, for instance:
  230.  
  231.                      E:\PCB\SYSOPS\S
  232.         instead of,
  233.                      E:\PCB\GEN\
  234.  
  235.         If you include the first letter of the "SDIRx" files in the path,
  236.         it will then find all the Directories which begin with "S", and will
  237.         create all the header files with the name of "SDIRx.HED" instead of
  238.         "DIRx.HED".  Simple, huh!
  239.  
  240.         NOTE:  If your public upload directory is named "UP or UPLOAD",
  241.                sorry, you are out-of-luck!  Either change the name of your
  242.                upload directory, or be satisfied that no header will be
  243.                created for it.
  244.  
  245.         Don't forget to change the calling statement on the first line of
  246.         your Sysops directories to:  %E:\PCB\SYSOPS\SDIRx.HED (or whatever
  247.         path applies).
  248.  
  249.  
  250.         FDH is idealy suited to be run in your EVENT.SYS as a daily
  251.         event.  Shown below are the statements which will allow you to
  252.         run one or more copies of FDH in your event:
  253.  
  254.                 E:            <---- drive specifier
  255.                 CD\PCB\GEN    <---- cd to dir containing FDH70.EXE & FDH.CFG
  256.                 FDH70.EXE     <---- the .EXE program
  257.                 CD\PCB\ADULTS
  258.                 FDH70.EXE
  259.                 CD\PCB\SYSOPS
  260.                 FDH70.EXE
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.                                   - 6 -
  268.  
  269.  
  270.  
  271.         A MINOR CONFLICT (Left to your discretion)
  272.  
  273.         FDH70 (and all previous versions) does not place a blank line
  274.         between the header and the first entry in the DIR file when
  275.         viewed on-line.  I did this purposly to provide a nicer appearance
  276.         to the caller.
  277.  
  278.  
  279.         It has, however, caused a problem when you use PCBFILER to create
  280.         your ALLFILES.LST.  The last line of the header is cut off!
  281.  
  282.         I can see no easy way around this problem except to re-insert the
  283.         blank line at the end of the header graphic.  Therefore, I have
  284.         provided two FDH executable files in version 6.0 and above.
  285.  
  286.         1.  FDH70.EXE - does NOT provide a blank line (for those who DO NOT
  287.                         use PCBFILER to make the ALLFILES.LST.)
  288.  
  289.         2.  FDH70X.EXE - Provides a blank line to prevent the cut-off
  290.                          header in ALLFILES.LST when you use PCBFILER.
  291.  
  292.  
  293.         You can use whichever one suits your purpose.  Idealy, you could
  294.         run FDH70X.EXE before you make your ALLFILES.LST.  Then run
  295.         FDH70.EXE after the list is made, to eliminate the blank line
  296.         to your callers.
  297.  
  298.         I personally run both in my daily event because I'm asleep and the
  299.         extra time it takes doesn't matter.  It only adds an extra 2-3
  300.         minutes to the event.
  301.  
  302.         If anyone has a better solution for solving this problem, I would
  303.         appreciate hearing from you.  Thanks.
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.                                      - 7 -
  311.  
  312.  
  313.  
  314.         GET READY TO "GO"
  315.  
  316.         After you have built your FDH.CFG file, and configured all
  317.         your DIRx files to add the PCB 14.5a calling statement, you are
  318.         ready to run FDH70.EXE.
  319.  
  320.         Please take my advice and backup all your DIRx files before
  321.         running this program for the first time.  It really should not
  322.         do any damage to the DIRx files, even if you make mistakes in
  323.         building the .CFG file.  The program merely opens the DIRx's to
  324.         count the files and the bytes and does not modify them in any
  325.         way.  If you do "mess up", just correct the errors in the .CFG
  326.         file and run the program again.  Each time the program is run,
  327.         it overwrites the old .HED files and builds completely new ones.
  328.  
  329.  
  330.  
  331.         UPGRADING FROM PREVIOUS VERSIONS
  332.  
  333.         If you are upgrading from version 1.0, make the following
  334.         changes:
  335.  
  336.         1.  Replace the file FDH10.EXE with FDH70.EXE.
  337.  
  338.         2.  Delete the file FDH10.MSK.  It is no longer needed.
  339.  
  340.         3.  Change the name of FDH10.DAT to FDH.CFG and add the last
  341.             five color code lines to the end of the file.  (See the
  342.             sample .CFG file on page 4)
  343.  
  344.         
  345.         To upgrade from any other version except 1.0, just replace the
  346.         FDH executable file with the new one.
  347.  
  348.  
  349.  
  350.  
  351.  
  352.                                  - 8 -
  353.  
  354.          
  355.         TROUBLE SHOOTING
  356.  
  357.  
  358.         The first place to look for possible trouble is in the FDH.CFG file.
  359.  
  360.         1.  Count your directory titles and make sure it is equal to the
  361.             number specified on the first line.
  362.  
  363.         2.  Make sure you have NOT used commas (or colons) in any of the
  364.             directory titles.
  365.  
  366.         3.  Make sure you have NOT placed any leading or trailing spaces
  367.             on any of the lines.
  368.  
  369.         4.  Examine the ASCII editor you used to build or edit the FDH.CFG
  370.             file.  It must be a pure DOS ASCII editor such as QEdit or the
  371.             built in DOS5.0 text editor.  Every line must end with a simple
  372.             carrage return and line feed.
  373.  
  374.         5.  Make sure you are using the correct format for the PCB "@X"
  375.             color codes.  They must be in upper case.  A common mistake is
  376.             to use the letter "O" instead of the number "0".
  377.  
  378.         6.  Make sure the path to your DIR files ends with a "\".
  379.             (An exception to this is shown on Page 5, paragraph 2)
  380.  
  381.         7.  If your problem is incorrect ANSI colors, change the PCB "@X"
  382.             color codes to "@X07" (pure mono).  Then re-run FDH70.EXE again.
  383.             It could be that a non-standard version of ANSI.SYS is loaded
  384.             in your CONFIG.SYS file.  I have no way of testing this!
  385.  
  386.  
  387.                              - END OF DOCS -
  388.  
  389.  
  390.  
  391.  
  392.  
  393.                                   - 9 -
  394.  
  395.  
  396.  
  397.  
  398.              The latest copy of FDH is always available on:
  399.  
  400.                             NO NONSENSE BBS
  401.                              Westfield, NJ
  402.                             (908) 654-3178
  403.  
  404.        If you find this program useful please send a small donation to:
  405.  
  406.                            Vincent C. Rifici 
  407.                           433 Mountain Avenue
  408.                           Westfield, NJ 07090
  409.  
  410.  
  411.  
  412.         My thanks to Neil Stewart, E.I.B. BBS, Hillsdale, NJ for first
  413.         testing the program and reporting the "bugs" which got by me on
  414.         the initial writing.
  415.  
  416.         Thanks to:  John Meyer, AFTER THE STORM BBS, Rahway, NJ
  417.                     Matt Korybsky, JUST PROGRAMS BBS, Roselle Pk, NJ
  418.                     Chris Sloyan, THE ARENA BBS, Kenilworth, NJ
  419.         for further testing the program, and suggesting some changes
  420.         which greatly improved it's versatility.
  421.  
  422.         Thanks to Clark Development Company for providing all the "nice"
  423.         little features in PCBoard 14.5a which made this program possible.
  424.  
  425.  
  426.  
  427.